<?php
//定义面包屑变量breadcrumbs
$this->breadcrumbs =array(
    '用户中心'=>array('user/login'),
    '用户登录'=>array('user/login'),
);
?>

            <div class="block box">

            <div class="usBox clearfix">
                <div class="usBox_1 f_l">
                    <div class="logtitle"></div>
                    <?php $form = $this->beginWidget('CActiveForm'); ?>
                        <table align="left" border="0" cellpadding="3" cellspacing="5" width="100%">
                            <tbody><tr>
                                    <td align="right" width="25%">
                                        <?php echo $form -> labelEx($user_login,'username') ?>
                                    </td>
                                    <td width="75%">
                                        <?php echo $form -> textField($user_login,'username',array('class'=>'inputBg')) ?>
                                        <?php echo $form->error($user_login,'username');  ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <?php echo $form -> labelEx($user_login,'password') ?>
                                    </td>
                                    <td>
                                        <?php echo $form -> passwordField($user_login,'password',array('class'=>'inputBg')) ?>
                                        <?php echo $form->error($user_login,'password');  ?>
                                    </td>
                                </tr>
                            <tr>
                                <td align="right">
                                    <?php echo $form -> labelEx($user_login,'verifyCode') ?>
                                </td>
                                <td>
                                    <?php echo $form -> textField($user_login,'verifyCode',array('size'=>'6','maxlength'=>'4','class'=>'inputBg')) ?>
<!--                                    显示验证码图片/小物件-->
                                    <?php $this->widget('CCaptcha',array(
                                        'showRefreshButton'=>false,'clickableImage'=>true,'imageOptions'=>array('alt'=>'点击换图','title'=>'点
击换图','style'=>'cursor:pointer')   )); ?>
                                    <?php echo $form->error($user_login,'verifyCode');  ?>
                                </td>
                            </tr>
                                <tr>
                                    <td align="right">
                                        <?php echo $form -> checkbox($user_login,'rememberMe') ?>
                                    </td>
                                    <td>
                                        <?php echo $form -> label($user_login,'rememberMe') ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td align="left">
                                        <input name="act" value="act_login" type="hidden" />
                                        <input name="back_act" value="./index.php" type="hidden" />
                                        <input name="submit" value="" class="us_Submit" type="submit" />
                                    </td>
                                </tr>
                                <tr><td></td><td><a href="#" class="f3">密码问题找回密码</a>&nbsp;&nbsp;&nbsp;<a href="#" class="f3">注册邮件找回密码</a></td></tr>
                            </tbody></table>
                    <?php $form = $this->endWidget(); ?>
                    <div class="blank"></div>
                </div>
                <div class="usTxt">
                    <div class="regtitle"></div>
                    <div style="padding-left: 50px;">
                        <strong>如果您不是会员，请注册</strong>  <br />
                        <strong class="f4">友情提示：</strong><br />
                        不注册为会员也可在本店购买商品<br />
                        但注册之后您可以：<br />
                        1. 保存您的个人资料<br />
                        2. 收藏您关注的商品<br />
                        3. 享受会员积分制度<br />
                        4. 订阅本店商品信息  <br />
                        <a href="#"><img src="<?php echo IMG_URL ?>bnt_ur_reg.gif"></a>
                    </div>
                </div>
            </div>
            </div>
            </div>
